package com.travel.server.manager.dto.response.message;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author: LiZhenhui
 * @Date: 2018/11/5 12:51
 * @Desc:
 */
@Data
public class QueryMessageTemplateResponse {

    @JSONField(name = "mail_list")
    private List<TemplateItem> mailList = new ArrayList<>();

    @JSONField(name = "msg_list")
    private List<TemplateItem> msgList = new ArrayList<>();

    @Data
    public static class TemplateItem{

        private Integer id;

        private String title;
    }
}
